<!--<? include L::getHtmlTpl('/html/head.html');
include L::getHtmlTpl('/html/navHover.html');
?>-->
<div style="position:fixed;  bottom:10px; z-index:10008; padding: 10px; background: #fff;">
    <!--<? if(!empty($this->imgUrl)) { ?>-->
    <img _src="$this->imgUrl" style="width: 180px;height: 180px" />
    <!--<? }?>-->
</div>
<div class="wrapper wrapper-content animated fadeInRight padding-body-left-top">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5 __html="$this->title"></h5>
                    <input type="hidden" id="flag" _value="$this->val" >
                </div>
                <div style="background-color: white;text-align: right;width: 100%;height: 30px;">
                    <div class="input-group-sm input-group" style="width: 25%;margin-left: 70%;">
                        <label class="input-group-addon bold">开始时间</label>
                        <input type="text" class="form-control layui-input" id="timeS">
                        <label class="input-group-addon bold">结束时间</label>
                        <input type="text" class="form-control layui-input" id="timeE">
                        <input type="hidden" id="oldTimeS">
                        <input type="hidden" id="oldTimeE">
                    </div>
                </div>
                <div class="ibox-content">
                    <input type="hidden" name="chart" id="chart" _value="$this->chart">
                    <div class="table-responsive" id="table-responsive"></div>
                </div>
            </div>
        </div>
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title logFlag" style="cursor: pointer;">
                    <div class="logTitle">
                        <span>操作日志</span>
                        <i id="iconLog" class="layui-icon layui-icon-down" style="display:inline-block;font-size: 12px;"></i>
                    </div>
                    <div class="logInfo">
                        <table class="layui-table" lay-skin="row" lay-size="lg">
                            <colgroup>
                                <col width="20%">
                                <col width="20%">
                                <col width="60%">
                            </colgroup>
                            <thead>
                            <tr>
                                <th style="text-align: right">
                                    <input class="btn btn-info" _onclick="'wishProductObj.addProductLog(\'' . $this->val . '\');'" type="button" value="添加日志">
                                </th>
                                <th>操作时间</th>
                                <th>操作说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            <!--<? foreach ($this->_logs as $v) {
                            ?>-->
                            <tr>
                                <td></td>
                                <td><!--<? echo $v['date']; ?>--></td>
                                <td><!--<? echo $v['remark']; ?>--></td>
                            </tr>
                            <!--<? } ?>-->
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script _src="ROOT_URL.'/view/js/echarts.min.js?v=1.0'"></script>
<script _src="ROOT_URL.'/view/js/layui/layui.js'"></script>
<!--加本页面 的js文件与js代码-->
<script type="text/javascript" _src="ROOT_URL.'/view/js/wish/wishProductChart.js?v=1.0'"></script>
<script type="text/javascript" _src="ROOT_URL.'/view/js/wish/wishProduct.js?v=1.0'"></script>
<script>
layui.use('laydate', function() {
    var laydate = layui.laydate;
    laydate.render({
        elem: '#timeS',
        done: function(value) {
            spuAsinChart.changeTimeS(value);
        }
    });
});

layui.use('laydate', function() {
    var laydate = layui.laydate;
    laydate.render({
        elem: '#timeE',
        done: function(value) {
            spuAsinChart.changeTimeE(value);
        }
    });
});
</script>
</body>
</html>
